<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/tlds/boardgame.tld" prefix="boardgame"%>

<div id="login_container" class="login_container">
	<div class="postbox s_clear" id="layer_reg">
		<h3 class="float_ctrl">
			<em id="returnmessage4"><boardgame:writerFieldname name="userLogin"/></em>
			<span>
			</span>
		</h3>
		<html:form action="/Login.do" method="post">
			<div class="loginform">
				<div id="reginfo_a">
					<span id="activation_hidden">
					<label><em><boardgame:writerFieldname name="userId"/>:</em><html:text property="userId" styleClass="txt" maxlength="20"></html:text> *</label>
					<label><em><boardgame:writerFieldname name="password"/>:</em><html:password property="password" styleClass="txt" maxlength="40"></html:password> *</label>
					</span>
				</div>
				<div id="reginfo_b">
				</div>
			</div>
			<div class="logininfo">
				<h4><boardgame:writerFieldname name="noAccount"/><a href="<%=request.getContextPath()%>/Regedit.do"><boardgame:writerFieldname name="toRegister"/></a></h4>
			</div>
			<logic:messagesPresent >
				<div id="error_area" class="error_area">
					<html:errors prefix="errors.prefix.single" property="userId"/>
				</div>
			</logic:messagesPresent>
			<p class="fsubmit">
				<html:submit styleClass="submit" property="login"><boardgame:writerFieldname name="doLogin"/></html:submit>
				<html:checkbox styleClass="checkbox rememberStatus" property="cookieTime" value="2592000"></html:checkbox>
				<label><boardgame:writerFieldname name="rememberStatus"/></label>
			</p>
		</html:form>
	</div>
</div>